package com.walker.taogong.datamodel;

public class TaskHistory
{
    private int id;
    private Task task;
    private User user;
    private TaskStatus taskStatus;
    private String changedTime;
    private String detail;
    
    public int getId()
    {
        return id;
    }
    public void setId(int id)
    {
        this.id = id;
    }
    public Task getTask()
    {
        return task;
    }
    public void setTask(Task task)
    {
        this.task = task;
    }
    public User getUser()
    {
        return user;
    }
    public void setUser(User user)
    {
        this.user = user;
    }
    public char getTaskStatus()
    {
        return taskStatus.getStatus();
    }

    public void setTaskStatus(TaskStatus status)
    {
        this.taskStatus = status;
    }
    
    public void setTaskStatus(char status)
    {
        this.taskStatus = TaskStatus.valueOf(status);
    }
    public String getChangedTime()
    {
        return changedTime;
    }
    public void setChangedTime(String changedTime)
    {
        this.changedTime = changedTime;
    }
    public String getDetail()
    {
        return detail;
    }
    public void setDetail(String detail)
    {
        this.detail = detail;
    }
    
    
    
}
